import Home from '@/views/home.vue'
import Index from '@/views/index.vue'
import { createRouter, createWebHistory } from 'vue-router'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    { path: '/index', name: 'index',component: Index, children:[

        { path: 'home', name: 'home',component: Home,}

    ]},
   
  ],
})

export default router
